package com.ddwl.schema.bo.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;


/**
 * 类UserDistAddBo.java的实现描述：新增区域合伙人
 *
 * @author zach
 * @Date :2020-09-05 10:20.
 */
@Getter
@Setter
@ApiModel(value = "新增区域合伙人员")
public class UserDistRegionAddBo {

    @ApiModelProperty(value = "id")
    private String id;
    @NotNull
    @ApiModelProperty(value = "真实姓名",required = true)
    private String realName;
    @NotNull
    @Pattern(regexp = "^1\\d{10}$",message = "请输入正确的手机号")
    @ApiModelProperty(value = "手机号",required = true)
    private String mobile;
    @NotNull
    @ApiModelProperty(value = "身份证号",required = true)
    private String idCard;
    @NotNull
    @ApiModelProperty(value = "居住地址",required = true)
    private String address;
    @ApiModelProperty(value = "区",required = true)
    private String regionId;
    @NotNull
    @ApiModelProperty(value = "身份证反面",required = true)
    private String idCardBank;
    @NotNull
    @ApiModelProperty(value = "身份证正面",required = true)
    private String idCardFront;
    @NotNull
    @ApiModelProperty(value = "代理区域多个逗号隔开",required = true)
    private String regionIds;
    @ApiModelProperty(value = "合同文件列表多个多个逗号隔开")
    private String files;
    @ApiModelProperty(value = "区域经理是否公司账号 0：否，1：是")
    private Byte companyAccount;
}
